import { createRouter, createWebHashHistory } from "vue-router";

const routes = [{
		path: "/",
		redirect: '/home',
	},
	{
		path: "/home",
		name: "Home",
		component: () => import("@/views/Home"),
	},
	{
		path: "/about",
		name: "About",
		component: () => import("@/views/About"),
	},
	{
		path: "/test",
		name: "test",
		component: () => import("@/views/test"),
	},
];

const router = createRouter({
	history: createWebHashHistory(),
	routes,
});

export default router;
